########################################
#
#
#
#
#

require File.join(File.expand_path(File.dirname(__FILE__)), 'base.rb')

#p mode
#p name
#p args

# ruby api.rb new <name>
def new_api name



end

#ruby api.rb list
def list_api()
  # List all APIs.
end


# ruby api.rb del <name>
def del_api name

  puts "Delete API #{name}.\n"
end


#mode, name = *ARGV

if $mode_name === Everest::ModeNew
  puts "Create API '#{$module_name}'."
  new_api($module_name)
elsif $mode_name === Everest::ModeDelete
  puts "Delete API '#{$module_name}'."
  del_api($module_name)
end





